<template>
  <div class="w-full h-full p-8">
    <el-button type="primary" @click="goBack">返回</el-button>
    <div class="mian-box display-center">
      <div class="display-center" @click="linkToPage('/queryProgress')">
        <span>查看申请进度</span>
      </div>
      <div class="display-center" @click="linkToPage('/register')">
        <span>开始申请注册</span>
      </div>
    </div>
  </div>
</template>
<script setup lang="ts">
import { useRouter } from 'vue-router'
const router = useRouter()
const linkToPage = (value) => {
  router.push(value)
}

const goBack = () => {
  router.push({ path: '/login' })
}
</script>
<style lang="scss" scoped>
.display-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mian-box {
  width: 100%;
  height: 100%;
  > div {
    width: 250px;
    height: 250px;
    color: #fff;
    background: #0ea5e9;
    border-radius: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
  }
  > div + div {
    margin-left: 150px;
  }
}
</style>
